public class 练习1 {
    public static void main(String[] args) {
        Student ZQY = new Student();
        ZQY.name ="赵黔豫";
        ZQY.gender = "男";
        ZQY.age = 18;
        ZQY.id = 539;
        ZQY.score = 60;
        System.out.println(ZQY.say());
    }
}
    class Student{
        String name;
        String gender;
        int age;
        int id;
        double score;
        public String say(){
            String say = "我是" + name + ", 性别" + gender +", 年龄" +age+",学号为" + id + ", 得分是" +score;
            return say;
        }
}

